import request from '@/utils/request'

const baseURL = '/dayEnterpriseReporting'

// 查询上报日数据集合
export function loadReportDayData () {
  return request({
    url: `${baseURL}/loadReportDayData`
  })
}

/**
 * 上报日数据
 * @param lists{{toolsNumber: string; toolsName: string; data: string[];}[]}
 * @returns {*}
 */
export function reportDayData (lists) {
  return request({
    url: `${baseURL}/reportDayData`,
    method: 'post',
    data: lists
  })
}
